if else meaning in English
的位置代替
Examples
- Both are possible . either way , there s one instance of the if else construct , and one plain if
不管是哪种情况,都会有一个if / else结构实例,以及一个普通的if 。 - In listing 5 , a simple if else condition tests whether a given number is even or odd and prints out the result
在清单5中,一个简单的if / else条件测试一个给定的数字是奇数还是偶数,并打印出结果。 - The same can be done with if else instructions where the optimizer can order the if else so that either the if or else block is placed first depending on which block is more frequently true
可以对if / else指令执行相同的操作;这时,优化程序可以对if / else进行排序,根据哪个块为true的频率最高,将if块或者else块放在最前面。